package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.WarningDao;
import com.seaboxdata.entity.Warning;
import com.seaboxdata.service.WarningService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("warningService")
public class WarningServiceImpl extends ServiceImpl<WarningDao, Warning> implements WarningService {


    @Override
    public List<String> selectExistedIds(List<String> ids) {
        if (CollectionUtils.isEmpty(ids)) return null;
        return baseMapper.selectExistedIds(ids);
    }
}
